libxl/vcpuset: Return error value if failed.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 3 Apr 2015 20:02:32 +0000 (16:02 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 15 Apr 2015 13:04:28 +0000 (14:04 +0100)
commit4cc400f70809b0ad14a0f119bdb0f6b6e03a3b00
treea9fb0c9e404817e977e87bcf092e4018d56d41a1
parent326427e4c3a6fd4b197b760d41e5b1540719d834
libxl/vcpuset: Return error value if failed.

The function does not return any values at all. Convert the
internal libxl errors (ERROR_FAIL, ..., etc) to 1.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c